# -*- coding: utf-8 -*-
"""
@Time : 2024/2/24 12:25 PM
@Author: imamhusan
@Des: 描述
"""
from pydantic import BaseModel, Field
from typing import List


class CreateBanner(BaseModel):
    image: str
    sort: int = Field(default=0, description='排序')
    target: int = Field(default=0, description='目标ID')


class UpdateBanner(BaseModel):
    image: str
    state: int
    sort: int
    target: int


class MultiUpdateBanner(BaseModel):
    state: int
    ids: List[int]

